package com.lib.krismile.http.request;



import java.util.Map;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.Response;
import retrofit2.http.Body;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.Headers;
import retrofit2.http.POST;

/**
 * 网络请求接口地址
 *
 * @author wangJiawei
 */
public interface ApiAddress {

    /**
     * 物流公司注册信息
     */
    @POST("logistics/personalInfo/register/info")
    Observable<Object> Logistics_info(@Body RequestBody body);

    /**
     * 司机注册信息
     */
    @POST("/driver/personalInfo/register/info")
    Observable<Object> Driver_info(@Body RequestBody body);

    /**
     * 货主注册信息
     */
    @POST("/carger/personalInfo/register/info")
    Observable<Object> Carger_info(@Body RequestBody body);

    /**
     * 上传文件
     */
    @POST ("/file/upload")
    Observable<Object> Upload ();

    /**
     *  查询物流端个人信息
     */
    @GET("logistics/personalInfo/logisticsCompanyInfo")
    Observable<Object> getLogisticsCompanyInfo ();

    /**
     * 查询司机端车辆信息
     */
    @GET("driver/personalInfo/truckInfo")
    Observable<Object> getTruckInfo ();

    /**
     *查询货主端个人信息
     */
    @GET("carger/personalInfo/cargerCompanyInfo")
    Observable<Object> getCargerCompanyInfo();
}